package ac.you.api.chat;

import ac.you.api.chat.e.At;
import ac.you.api.chat.e.Cl;
import ac.you.api.chat.e.Ho;
import com.sun.istack.internal.NotNull;
import org.bukkit.entity.Player;

public interface Text {
    Tellraw tellraw();
    String getContent();
    String toJson();

    Text color(Cl color);
    Text bold(boolean i);
    Text italic(boolean i);
    Text underlined(boolean i);
    Text strikethrough(boolean i);
    Text obfuscated(boolean i);
    Text insertion(String insertion);
    Text click(At action,String value);
    Text hover(Ho action,String value);
//    void sendText(Player player,String content);
//    void sendFloatingText(Player player,String content,String floating);
//    void sendCommandText(Player player,String content,String command);
//    void sendURLText(Player player,String content,String url);
//    void sendGroupText(Player player, boolean it, Text... texts);
}
